// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.siyeh.ig.memory;

import com.intellij.codeInspection.InspectionProfileEntry;
import com.siyeh.ig.LightJavaInspectionTestCase;
import org.jetbrains.annotations.Nullable;

public class InnerClassMayBeStaticInspectionTest extends LightJavaInspectionTestCase {

  @Override
  protected void setUp() throws Exception {
    super.setUp();
    addEnvironmentClass("package org.junit.jupiter.api;" +
                        "public @interface Nested {}");
  }

  public void testInnerClassMayBeStatic() { doTest(); }

  @Nullable
  @Override
  protected InspectionProfileEntry getInspection() {
    return new InnerClassMayBeStaticInspection();
  }
}